package cl.whyem.springoxm.test.pojo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "TRABAJADOR")
@XmlAccessorType(XmlAccessType.NONE)
public class Trabajador implements java.io.Serializable {

    @XmlElement(name = "NAME")
    private String name;
    @XmlElement(name = "RUT")
    private String rut;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRut() {
        return rut;
    }

    public void setRut(String rut) {
        this.rut = rut;
    }

}
